package com.situ.yB2C.catalog.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.situ.yB2C.catalog.pojo.Catalog;

@Repository
public interface CatalogDao {

	int insert(Catalog catalog);
	
	int update(Catalog catalog);

	int delete(Long rowId);
	
	List<Catalog> selectList();
	
	Catalog selectOneById(Long rowId);
	
	List<Catalog> selectByParent(long ParentId );
	
	
}
